﻿using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using Zen.Toolkit;
using Panel = Zen.Toolkit.Panel;

namespace Zenui.Toolkit.Examples
{
    public partial class ButtonTest : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
        }

        public void ButtonClick_Handler(object sender, ZenEventArgs e)
        {
            var p = new Panel
                        {
                            Width = Unit.Pixel(800),
                            Height = Unit.Pixel(600),
                            HtmlContent = "<b>Code view not yet available</b>",
                            ShowShadow = true,
                            Label = "View Source"
                        };

            Page.Controls.Add(p);
        }
    }
}